package com.adcc.eoss.cawebservice;

import java.util.Map;

import org.springframework.web.client.RestTemplate;

public class CAStringUtil {

	public static String getWebservice(String url, Map<String, Object> urlVariables) throws Exception {
		RestTemplate restTemplate = new RestTemplate();
		String result = restTemplate.postForObject(url, null, String.class, urlVariables);
		return result;
	}

}